-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Волков Кирилл #199
base: master
Are you sure you want to change the base?
Волков Кирилл #199
Conversation
@@ -1,14 +1,9 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
ObjectPrinting/ISerializerSetter.cs
Outdated
|
||
namespace ObjectPrinting | ||
{ | ||
public interface ISerializerSetter |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
.Serialize(s => maxLength >= s.Length ? s : s[..maxLength]); | ||
} | ||
|
||
void ISerializerSetter.SetSerializer<T>(Func<T, string> serializer, PropertyInfo propertyInfo) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
ObjectPrinting/PrintingConfig.cs
Outdated
return PrintToString1(obj, new List<object>().ToImmutableList()); | ||
} | ||
|
||
public string PrintToString1(object obj, ImmutableList<object> previous) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
||
public static class DictionaryExtensions | ||
{ | ||
public static string ObjectPrintDictionary<T>( |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
this IEnumerable<T> enumerable, | ||
string startSymbol, | ||
string endSymbol, | ||
Func<T, string> getRow, |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
previous); | ||
} | ||
|
||
public static string EnumerateForObjectPrinting<T>( |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
ObjectPrinting/ISerializer.cs
Outdated
@@ -0,0 +1,11 @@ | |||
using System; | |||
using System.Globalization; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
ObjectPrinting/Serializer.cs
Outdated
|
||
namespace ObjectPrinting | ||
{ | ||
public class Serializer<T, TOwner> : ISerializer<T, TOwner> |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
||
namespace ObjectPrintingTests; | ||
|
||
public class ObjectPrintingTests |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
No description provided.